include ../Makefile.include

$(package): $(build_dir) 
	-rm -rf tmp
	mkdir -p tmp
	cp -a init tmp
	cp -a etc tmp
	@mkdir -p tmp/mnt
	@mkdir -p tmp/proc
	@mkdir -p tmp/sys
	@mkdir -p tmp/var
	@mkdir -p tmp/tmp
	@mkdir -p tmp/root
	@mkdir -p tmp/debug
	rm -rf `find ./tmp -name .svn`
	tar -C tmp -cpzf $@ .

clean: $(software)_clean

